package com.breeze.blockchain.common.enums;

import com.breeze.components.core.enums.KeyEnumInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 缓存key
 *
 * @author breeze
 */
@Getter
@AllArgsConstructor
public enum RedisKeyEnum implements KeyEnumInterface {

  /* 在线人数统计 */
  ONLINE_CLIENT_COUNT(0),
  /** 系统配置 */
  SYS_SETTING(1),
  ;

  private final int param;

  @Override
  public String getName() {
    return this.name();
  }
}
